﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BatDongSan
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Advertisement1.LoadBannerList(1, 1, "478px", "0px");
                Uct_Place_Top_Canban.LoadData(1);
                Advertisement2.LoadBannerList(2, 1, "675px", "0px");
                Uct_News_Top_Img_Noibat.GetHotNews(1);

                //Load sau
                Uct_Place_Top_Canmua.LoadData(3);
                Uct_Place_Top_Canthue.LoadData(4);
                Uct_Place_Top_Chothue.LoadData(2);

                Uct_News_Top_Img_Thitruong.GetHotNews(2);
                Uct_News_Top_Img_Chinhsach.GetHotNews(4);
                Advertisement3.LoadBannerList(15, 1, "257px", "0px");
            }
        }
    }
}